// color-ui
@import "@/static/scss/colorui.css";
@import '@/static/scss/uni.scss';


page {
	color: #333;
	background-color: #F7F8FA;
	font-family: "PingFang SC";
	font-style: normal;
	font-weight: 400;
}
view, text {
	font-family: "PingFang SC";
	font-weight: 400;
}

.list_loading {
	.loading,
	.all-data {
		display: flex;
		justify-content: center;
		align-items: center;
		color: #999;
		padding: 15rpx 0;
	}
}


.form_bottom_btn {
	position: fixed;
	left: 0;
	bottom: 0;
	width: 100%;
	padding: 0 22rpx;
	padding-bottom: env(safe-area-inset-bottom); 
	background-color: #fff;
	z-index: 2;
	.btn-box {
		width: 100%;
		height: 64px;
		display: flex;
		justify-content: space-around;
		align-items: center;
		flex-wrap: nowrap;
		.cancel {
			flex: 1;
			// width: 100%;
			height: 90rpx;
			margin: 8rpx;
			border-radius: 20rpx;
			text-align: center;
			font-size: 32rpx;
			font-family: PingFang SC;
			font-weight: 500;
			line-height: 90rpx;
			color: #325ef5;
			background: #FFFFFF;
			border: 2rpx solid #325ef5;
			white-space: nowrap;
		}
		.confirm {
			flex: 1;
			// width: 100%;
			height: 90rpx;
			margin: 8rpx;
			border-radius: 20rpx;
			text-align: center;
			font-size: 32rpx;
			font-family: PingFang SC;
			font-weight: 500;
			line-height: 90rpx;
			color: #FFFFFF;
			background: #325ef5;
		}
		.exhibition{
			flex: 1;
			// width: 100%;
			height: 90rpx;
			margin: 8rpx;
			font-size: 28rpx;
			font-family: PingFang SC;
			font-weight: 500;
			line-height: 90rpx;
			color: #325ef5;
			background: #FFFFFF;
		}
	}
}
.ask-content {
  padding: 48rpx;
}

.common-no-data,
.common-loading {
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	padding-top: 12%;
	.no-data-img {
		width: 300rpx;
		height: 300rpx
	}
	.loading-img {
		width: 100rpx;
		height: 100rpx;
		margin: 40rpx 0 10rpx;
		animation: rotate 1s linear infinite;
	}
	.text {
		color: #999;
	}
}
@keyframes rotate {
	0% {
		transform: rotate(0deg);
	}
	100% {
		transform: rotate(360deg);
	}
}
.table-template {
  color: #1890FF;
}

// 单行省略号
.ellipsis-text {
  white-space: nowrap; /* 不换行 */
  overflow: hidden; /* 内容溢出时隐藏 */
  text-overflow: ellipsis; /* 显示省略号 */
}

// 多行省略号
.text-ellipsis-two {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  text-overflow: ellipsis;
}


.ql-align-center {
	text-align: center;
}
.ql-align-right {
	text-align: right;
}
.list-box {
	.uni-forms-item__error{
		position: static;
		top:calc(100% - 8rpx) !important;
	}
}
.form-data{
	 font-family: "PingFang SC";
	.uni-forms {
		padding-left: 14rpx;
		padding-right: 14rpx;
	}
	.uni-forms-item__error{
		top:calc(100% - 8rpx) !important;
	}
	
	.uni-forms-item {
		min-height: 80rpx;
		margin: 0 !important;
		// align-items: center;
	}
	
	.form-item-vertical{
		display: flex;
		flex-direction: column !important;
		align-items: flex-start !important;
		padding: 16upx 0;
		margin-left: 15rpx;
		.uni-forms-item__label {
			height: 100% !important;
			width: 100% !important;
			max-width: 100% !important;
			min-width: 100% !important;
			color: black !important;
			font-size: 28rpx !important;
		}
		
		.uni-forms-item__content {
			margin-top: 16upx;
			width: 100%;
		}
		textarea{
			width: 100%;
			padding: 20rpx;
			background: #f6f8fa;
			border-radius: 16rpx;
			font-size: 28rpx;
		}
		.JTxtArea {
			border-radius: 5px;
			// box-sizing: border-box;
			padding: 8px;
			min-height: 60px;
			line-height: 20px;
			color: #000000;
			position: relative;
			&.sm{
				min-height: 30px;
			}
			&.lg{
				min-height: 100px;
			}
			&:after{
				content: attr(data-maxnum);
				position: absolute;
				right: 5px;
				bottom: 0px;
				font-size: 12px;
			}
		}
		.uni-forms-item {
			min-height: 80rpx;
			align-items: center;
			margin: 0 !important;
		}
	}
	
	.uni-forms-item__content {
		input {
			display: block;
			// height: 100%;
			font-size: 28rpx;
		}
	}
	
	.uni-forms-item__label {
		height: 100% !important;
		// min-width: 300rpx;
		// max-width: 360rpx;
		font-size: 28rpx !important;
		color: #666 !important;
		align-items: center;
	}
	
	.uni-select{
		border: 0 !important;
		text-align: right;
	}
	
	.is-required {
		position: absolute;
		left: -14rpx;
	}
	
	.uni-forms-item__error {
		line-height: 0;
	}
}